package his.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("patient")
public class Patient {

    @TableId(value="ID",type = IdType.AUTO)
    private int ID;

    @TableField(value = "CaseNumber")
    private String CaseNumber;


    @TableField(value = "RealName")
    private String RealName;

    @TableField(value = "Gender")
    private int Gender;

    @TableField(value = "IDnumber")
    private String IDnumber;

    @TableField(value = "BirthDate")
    private String BirthDate;

    @TableField(value ="Age")
    private int Age;

    @TableField(value = "AgeType")
    private String AgeType;

    @TableField(value = "HomeAddress")
    private String HomeAddress;

    @TableField(value = "OpenID")
    private String OpenID;

}
